package com.dao;

import java.util.List;

import com.entity.Address;

public interface IAddressDao {
	public List<Address> getAdderssByPage(int currPage,int pageSize,String uid);
	
	public int getAddressCount(String uid);
	
	public int addAddress(Address ad);
	
	public int delAddress(String id);
	
	public int modAddress(Address ad);
	
	public int modAddressIsmain(String id,String uid);
	
	public int modAllAddressIsNotMain(String uid);
	
	public Address getAddress(String id);
}
